package com.example.aixiangshou.runninggame;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.x_memteor.base_master.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class WelcomeActivity extends BaseActivity {

    @BindView(R.id.imv_center)
    TextView imvCenter;
    @BindView(R.id.btn_sign)
    Button btnSign;
    @BindView(R.id.btn_sign_up)
    Button btnSignUp;
    @BindView(R.id.imv_setting)
    ImageView imvSetting;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public void initRootView() {
        setContentView(R.layout.activity_welcome);
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void initListener() {

    }

    @OnClick({R.id.btn_sign_up, R.id.btn_sign, R.id.imv_setting})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_sign_up:
                Intent intent = new Intent(this, SignInActivity.class);
                startActivity(intent);
                break;
            case R.id.btn_sign:
                Intent intent2 = new Intent(this, SelectModeActivity.class);
                startActivity(intent2);
                break;
            case R.id.imv_setting:
                Intent intent3 = new Intent(this, SettingActivity.class);
                startActivity(intent3);
                break;
        }
    }
}
